package com.roncoo.education.system.feign.interfaces;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 系统配置 接口
 *
 * @author wujing
 * @date 2022-08-25
 */
@FeignClient(value = "system-service", path = "/system/role/user")
public interface IFeignRoleUser {

    @GetMapping(value = "/{userId}")
    boolean isOnlyResourceManager(@PathVariable(value = "userId") Long userId);
}
